﻿<!DOCTYPE html>

<html>
<head>
	<?php include 'functions.php'; 
	inclHeader();	
	logout();
	?>
	<link rel = "stylesheet"  type = "text/css" href = "CSS.css" />
	<meta charset = "utf-8">
	<title>Podutik Records</title>	
	<style type="text/css"></style>
	<script src="jquery.js"></script>
	<script src="myQuery.js"></script>
	<script src="prevod.js" ></script>
	<script type = "text/javascript"  src = "poizvedba.js"></script>
</head>

<body>
	<div id="page-container">

		<div id="main-nav">
			<div class="block" id="bl1">
				<input type="image" src="slof.jpg" name="slolang" class="flag" id="slof">
				<input type="image" src="engf.jpg" name="englang" class="flag" id="engf">
			</div>
                    
			<?php 			
				showMainNav();  //prikaže glavni menu
			?>					
		</div>
			
		          
		
		<div id="header">		
				<a href="./index.php"><img id="logo1" src="podutikrecords1.jpg" 
				width="236" height="36" alt="Enlighten Designs" /></a>
		</div>
		
                
                <div id="menjavaPassUser">
                        <?php
                            if(!isset($_GET['usr']))
                                header("Location: prijava.php");
                            else{
                                $id=mysql_escape_string($_GET['usr']);
                                $query = "UPDATE Customers SET Aktiviran='1' WHERE ID='$id'";
                                dbGetResult($query);
                            }
                        ?>	
                        <h2 id="pss">Successfully activated account</h2>
                        <a href="prijava.php">Click to login</a>
                        
		</div>
                
		
		<?php
                    footer();
                ?>
	</div>

    
</body>
</html>
